package com.code.model.bo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * FastDFS 文件类
 *
 * @author tangyifei
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FastDFSFile implements Serializable {

    private static final long serialVersionUID = 7002145317550637648L;

    private String name;

    private byte[] content;

    private String ext;

    private String md5;

    private String author;

    public FastDFSFile(String name, byte[] content, String ext) {
        super();
        this.name = name;
        this.content = content;
        this.ext = ext;
    }

}
